#ifndef ENGINE_H
#define ENGINE_H

#include "defines.h"
#include "renderer.h"
#include "pg2_directinput.h"
//--------------------------------------------------
namespace ns
{
class Window;
class Renderer;
class Game;
//--------------------------------------------------
class ENGINE_API Engine
{
public:
	Engine(HINSTANCE hInstance, unsigned int uiWidth = 640, unsigned int uiHeight = 480);
	//~Engine();
	void SetGame(Game* _game);
	bool init();
	void run();

private:
	HINSTANCE m_hInstance;
	unsigned int m_uiWidth;
	unsigned int m_uiHeight;

	Window* m_kWindow;
	Renderer* m_pkRenderer;
	Game* game;
	DirectInput* dInput;
};
}//end namspace engine_api
//--------------------------------------------------
#endif// ENGINE_H
//--------------------------------------------------
